<!--#include virtual="/app/common/jsLoader.asp" -->
<%
    require('/app/edk/edk.js');
    require('/app/edk/sql.js');
    require('/app/common/common.js');
    require('/deepcms/classic/public/server.js');
%>
<html>
	<head>
		<%=$$.cfg.headTags()%>
	    <style type="text/css">
	        body {
	            background-color: #fdfdfd;
	            color: #494D4A;
	            padding: 0px !important;
	        }
	        p {
	            margin: 20px;
	        }
	        div.header {
	            border-bottom: 2px solid #A7AFA7;
	            background-color: #454545;
	        }
	        /*文章大标*/
	        div.header h1 {
	            float: left;
	            margin: 5px;
	            padding: 5px 5px 5px 160px;
	            font-size: 160%;
	            color: #DAE4DA;
	        }
	        /*文章副标*/
	        div.header H2, div.header H3 {
	            margin: 0;
	        }
	        div.toc {
	            float: right;
	            background-color: #454545;
	            border-bottom: 4px solid #A7AFA7;
	            border-left: 2px solid #A7AFA7;
	            border-right: 4px solid #454545;
	            padding:10px;
	            margin: -2px 0px 5px 12px;
	            
	        }
	        div.toc ol{
	            margin-left:10px;
	        }
	        
	        div.toc li{
	            list-style:none;
	        }
	        
	    </style>
</head>
<body>
    <div class="header">
<%
    var entity = $$.sql('SELECT * FROM news WHERE ID={0}'.format(Request('ID')())).rsObj;
%>
        <h1>
            <%=entity('title')%></h1>
        <h2>1</h2>
        <h3>2</h3>
    </div>
    <div class="toc">
        <ol>
            <li><a href="http://ecug.org/">CN Erlounge III - 发起</a>
                <ul>
                    <li><a href="http://ecug.org/agenda/">议程安排</a> </li>
                    <li><a href="http://ecug.org/lecturer/">讲师介绍</a> </li>
                    <li><a href="http://ecug.org/apply/">参加会议</a> </li>
                    <li><a href="http://ecug.org/feedback/">意见反馈</a> </li>
                </ul>
            </li>
            <li><a href="http://ecug.org/#RecruitTopics">CN Erlounge III - Topic征集</a>
                <ul>
                    <li><a href="http://ecug.org/lecturer/register/">讲师注册</a> </li>
                    <li><a href="http://ecug.org/lecturer/contribute/">投稿</a> </li>
                </ul>
            </li>
            <li><a href="http://ecug.org/">CN Erlounge III - 社区</a>
                <ul>
                    <li><a href="http://ecug.org/memorabilia/">社区大事记</a> </li>
                    <li><a href="http://ecug.org/sponsor/">赞助商</a> </li>
                    <li><a href="http://ecug.org/cooperator/">合作伙伴</a> </li>
                </ul>
            </li>
        </ol>
    </div>
    <div class="body edk-content"><%=entity('content')%></div>
</body>
</html>
<%
entity.close();
entity.activeConnection.close();
%>